
from django.contrib import admin
from .models import RaceRecord

@admin.register(RaceRecord)
class RaceRecordAdmin(admin.ModelAdmin):
    list_display = ('project', 'name', 'candidate_number', 'actual_speed', 'variable_speed', 'time')
    search_fields = ('name', 'candidate_number')
    list_filter = ('project', 'time')